package com.itheima.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author shc
 * @version 1.0
 * @since 2025-08-05-10:45
 */
@Data
public class ClazzQueryParam {
   private  String name;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate begin;            // 开课时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate end;              // 结课时间
    private Integer page = 1;           // 页码
    private Integer pageSize = 10;      // 每页展示记录数

}
